<?php
// +----------------------------------------------------------------------
// | Author: Stupboy King
// +----------------------------------------------------------------------
namespace app\api\model;
use app\api\model\Common;
use traits\model\SoftDelete;
class CarOil extends Common
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';

    public function car(){
        return $this->hasOne('Car', 'car_id', 'car_id');
    }
}